﻿using Ducu.SRV.ViewModel.Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ducu.SRV.ViewModel.Plan.Shared
{
    public class _ShowItemBodyModel
    {
        public string Description { get; set; }
        public NameIdModel Vower { get; set; }
        public IList<NameIdModel> Keywords { get; set; }
        public DateTime CreateTime { get; set; }

        public DateTime From { get; set; }
        public DateTime? To { get; set; }

        public IList<int> FulfilWeekdays { get; set; }
        public int Expire { get; set; }
        public int DaysOfLeave { get; set; }

        public LinkModel Proof { get; set; }

        public int MaxNumberOfSupervisors { get; set; }
        public IList<NameIdModel> Supervisors { get; set; }

        public IList<Can> ShowButton { get; set; }
    }

    public enum Can
    {
        Edit,
        Join,
        Fulfil,
        Accept
    }
}
